﻿<%@ Page Title="【个人中心】-提款记录" Language="C#" MasterPageFile="~/APP_Master/MasterPage_Personal.master"
    AutoEventWireup="true" CodeFile="per_tx_records.aspx.cs" Inherits="per_tx_records" %>

<%@ Register Assembly="AspNetPager" Namespace="Wuqi.Webdiyer" TagPrefix="webdiyer" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">
    <!--Right-->
    <div class="per_right_con">
        <div class="per_pre_record_t">
            <b>提款记录</b>
            <script type="text/javascript" src="js/jquery-1.7.min.js"></script>
            <script type="text/javascript">
                $(function () {
                    $(".select03").each(function () {
                        var s = $(this);
                        var z = parseInt(s.css("z-index"));
                        var dt = $(this).children("dt");
                        var dd = $(this).children("dd");
                        var _show = function () { dd.slideDown(200); dt.addClass("cur"); s.css("z-index", z + 1); };   //展开效果
                        var _hide = function () { dd.slideUp(200); dt.removeClass("cur"); s.css("z-index", z); };    //关闭效果
                        dt.click(function () { dd.is(":hidden") ? _show() : _hide(); });
                        dd.find("a").click(function () { dt.html($(this).html()); _hide(); });     //选择效果（如需要传值，可自定义参数，在此处返回对应的“value”值 ）
                        $("body").click(function (i) { !$(i.target).parents(".select03").first().is(s) ? _hide() : ""; });
                    })
                })
            </script>
            <dl class="select03">
                <asp:DropDownList ID="timesl" runat="server" AutoPostBack="true"
                    OnSelectedIndexChanged="timesl_SelectedIndexChanged">
                    <asp:ListItem Value="5">全部</asp:ListItem>
                    <asp:ListItem Value="0">今天</asp:ListItem>
                    <asp:ListItem Value="1">近一周</asp:ListItem>
                    <asp:ListItem Value="2">近一个月</asp:ListItem>
                    <asp:ListItem Value="3">近三个月</asp:ListItem>
                    <asp:ListItem Value="4">近六个月</asp:ListItem>
                </asp:DropDownList>
            </dl>
            <span>最多可查询6个月</span>
        </div>
        <ul class="per_pre_records_title_ul">
            <li>提款时间</li>
            <li>银行卡号</li>
            <li>银行</li>
            <li>提款金额</li>
            <li>状态</li>
        </ul>
        <%if (userOrder != null)
            {
                for (int i = 0; i < userOrder.Count; i++)
                {%>
        <ul class="per_pre_records_con_ul">
            <li><%=userOrder[i].addtime%></li>
            <li><%=userOrder[i].account%></li>
            <li><%if (userOrder[i].bankid == 100)
                    {%> 邮储银行<%}
                else if (userOrder[i].bankid == 102)
                {%>工商银行<%}
                           else if (userOrder[i].bankid == 103)
                           {%> 农业银行<%}
                              else if (userOrder[i].bankid == 104)
                              {%>中国银行<%}
                           else if (userOrder[i].bankid == 105)
                           {%> 建设银行<%}
                              else if (userOrder[i].bankid == 301)
                              {%>交通银行<%}
                           else if (userOrder[i].bankid == 302)
                           {%> 中信银行<%}
                                                          else if (userOrder[i].bankid == 303)
                                                          {%>光大银行<%}
                           else if (userOrder[i].bankid == 304)
                           {%> 华夏银行<%}
                                                          else if (userOrder[i].bankid == 305)
                                                          {%>民生银行<%}
                           else if (userOrder[i].bankid == 306)
                           {%> 广发银行<%}
                                                          else if (userOrder[i].bankid == 308)
                                                          {%>招商银行<%}
                           else if (userOrder[i].bankid == 309)
                           {%> 兴业银行<%}
                                                          else if (userOrder[i].bankid == 310)
                                                          {%>浦发银行<%}
                                             else if (userOrder[i].bankid == 311)
                                             {%>恒丰银行<%}
                                                                                           else if (userOrder[i].bankid == 420)
                                                                                           {%>大连银行<%}%></li>
            <li><%=userOrder[i].total%>元</li>
            <li><%if (userOrder[i].s_status == 0)
                    {%> 待确认<%}
                else if (userOrder[i].s_status == 1)
                {%>确认通过<%}
            else
            {%>确认未通过<%} %></li>
        </ul>
        <%}
            }
            else
            { %>
        <ul class="per_integral_con_ul">

            <div style="text-align: center">暂无记录</div>
        </ul>
        <%}%>
        <div class="sabrosus">
            <webdiyer:AspNetPager SubmitButtonClass="buttons" ID="AspNetPager1"
                runat="server" AlwaysShow="True" FirstPageText="首页"
                NextPageText="下一页" PrevPageText="前一页" LastPageText="尾页" PageSize="10"
                OnPageChanged="AspNetPager1_PageChanged">
            </webdiyer:AspNetPager>
        </div>
        <div class="per_r_infor no_border">
            <h3>提款记录-注意事项：</h3>
            <p>您可以查询账户近6个月内的提款记录；</p>
            <p>若银行卡号绑定错误或开户行填写不正确等原因导致提款失败后，提款资金会返还到您的彩票帐户中；</p>
            <p>提款到账时间提醒：工/农/建/招/中5大银行1个工作日，其他银行1～3个工作日（节假日顺延）；</p>
        </div>
    </div>
    <!--Right-->
    <div class="per_bg_bottom"></div>
    </div>
    <!--Content-->
</asp:Content>
